let navs = [
    {
        path: "/",
        name: "首页",
        isActive: (pathname) => {
            return pathname === "/" || pathname === "/index";
        },
    },
    {
        path: "/getstart",
        name: "新手入门",
    },
    {
        path: "/api",
        name: "API",
    },
    {
        path: "/about",
        name: "关于",
    },
    {
        path: "/signup",
        name: "注册",
    },
    {
        path: "/login",
        name: "登录",
    },
];

let searchNavs = [
    {
        path: "?tab=all",
        name: "全部",
    },
    {
        path: "?tab=good",
        name: "精华",
    },
    {
        path: "?tab=share",
        name: "分享",
    },
    {
        path: "?tab=ask",
        name: "问答",
    },
    {
        path: "?tab=job",
        name: "招聘",
    },
];
export { navs, searchNavs };
